<!DOCTYPE html>
<html>
<head>
<?php include(__DIR__ . '/../Public/header.php'); ?>
<style type="text/css"></style>
</head>
<body class="skin-black">
<?php include(__DIR__ . '/../Public/nav.php'); ?>
<div class="wrapper row-offcanvas row-offcanvas-left">
    <div class="content">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <section class="panel">
                    <header class="panel-heading"><?=L('reg',1)?></header>
                    <div class="panel-body">
                        <form role="form" method='post' class="reg-form">
                            <div class="form-group">
                                <label for="emailInput"><?=L('email',2)?></label>
                                <input type="email" class="form-control" name='info[email]' data-rule-required="true" id="emailInput" placeholder="<?=L('email',2)?>">
                            </div>
                            <div class="form-group">
                                <label for="nickInput"><?=L('nick',2)?></label>
                                <input type="text" class="form-control" name='info[nick]' data-rule-required="true" id="nickInput" placeholder="<?=L('nick',2)?>">
                            </div>
                            <div class="form-group">
                                <label for="pwdInput"><?=L('pwd',2)?></label>
                                <input type="password" class="form-control"  name='info[pwd]' data-rule-required="true" data-rule-minlength='6' id="pwdInput" placeholder="<?=L('pwd',2)?>">
                            </div>
                            <div class="form-group">
                                <label for="repwdInput"><?=L('repwd',2)?></label>
                                <input type="password" class="form-control"  name='info[repwd]' data-rule-required="true" data-rule-equalTo='#pwdInput' id="repwdInput" placeholder="<?=L('repwd',2)?>">
                            </div>
                            <div class="form-group">
                                <label for="repwdInput"><?=L('code',2)?></label>
                                <div class="input-group">
                                    <input type="text" class="form-control showErrParent" name='info[code]' id='codeInput' data-rule-required="true" data-rule-rangelength="[8,8]" placeholder="<?=L('code',2)?>">
                                    <span class="input-group-btn">
                                        <button type='button' class="btn btn-flat send_reg_email" data-url="<?=url('member/send_reg_email')?>"><?=L('send_mail',2)?></button>
                                    </span>
                                </div>
                            </div>
                            <button type="submit" class="btn btn-info"><?=L('submit',1)?></button>
                        </form>
                    </div>
                </section>
            </div>
        </div>
    </div>
</div><!-- ./wrapper -->
<?php include(__DIR__ . '/../Public/footer.php'); ?>
</body>
</html>